<script setup lang="ts">
import {dateZhCN, zhCN} from "naive-ui";
import WindowDialog from "@/components/windows/WindowsDialog.ts";
import WindowMessage from "@/components/windows/WindowsMessage.ts";
import WindowNotification from "@/components/windows/WindowsNotification.ts";
import WindowLoadingBar from "@/components/windows/WindowsLoadingBar.ts";
</script>

<template>
  <n-config-provider :locale="zhCN" :date-locale="dateZhCN">
    <n-dialog-provider>
      <window-dialog/>
      <n-notification-provider>
        <window-notification/>
        <n-message-provider>
          <window-message/>
          <n-loading-bar-provider>
            <window-loading-bar/>
            <router-view/>
          </n-loading-bar-provider>
        </n-message-provider>
      </n-notification-provider>
    </n-dialog-provider>
  </n-config-provider>
</template>

<style scoped>
</style>
